/**
 * 查询系统下的租户用户信息
 */
export const useFindUserListBySystemIdApi = (body)=>{
    return useHttpPost("/sysuser/system/list",{body})
}

/**
 * 查询列表
 */
export const useLoadUserApi = (body)=>{
    return useHttpPost("/sysuser/list",{body})
}
/**
 * 查询列表-回收站
 */
export const useLoadRecycleUserApi = (body)=>{
    return useHttpPost("/sysuser/recycle",{body})
}

/**
 * 保存
 */
export const useSaveUserApi = (body)=>{
    return useHttpPost("/sysuser/save",{body})
}


/**
 * 保存系统用户
 */
export const useSaveSystemUserApi = (body)=>{
    return useHttpPost("/sysuser/system/save",{body})
}

/**
 * 修改
 */
export const useUpdateUserApi = (body)=>{
    return useHttpPost("/sysuser/update",{body})
}

/**
 * 删除
 */
export const useDelUserApi = (id)=>{
    return useHttpPost("/sysuser/del/"+id,{})
}

/**
 * 恢复删除
 * @param id
 */
export const useRecoverUserApi = (id)=>{
    return useHttpPost("/sysuser/recover/"+id,{})
}

/**
 * 恢复删除
 * @param id
 */
export const useRemoveByIdUserApi = (id)=>{
    return useHttpPost("/sysuser/remove/"+id,{})
}


/**
 * 获取明细
 */
export const useGetUserApi = (id)=>{
    return useHttpPost("/sysuser/get/"+id,{})
}

/**
 * 修改状态
 */
export const useHandleUpdateStatusUserApi = (body)=>{
    return useHttpPost("/sysuser/update/status",{body})
}

/**
 * 修改密码
 */
export const useHandleUpdatePasswordUserApi = (body)=>{
    return useHttpPost("/sysuser/update/password",{body})
}

/**
 * 绑定角色
 */
export const useHandleBindRoleUserApi = (body)=>{
    return useHttpPost("/sysuser/bindroles",{body})
}


/**
 * 批量禁止
 */
export const useBatchForbiddensApi = (body)=>{
    return useHttpPost("/sysuser/batch/forbiddens",{body})
}



/**
 * 批量通过
 */
export const useBatchStatusApi = (body)=>{
    return useHttpPost("/sysuser/batch/statuss",{body})
}

/**
 * 批量恢复删除
 */
export const useBatchRecoversApi = (body)=>{
    return useHttpPost("/sysuser/batch/recovers",{body})
}

/**
 * 批量删除
 */
export const useBatchDelsApi = (body)=>{
    return useHttpPost("/sysuser/batch/dels",{body})
}

/**
 * 批量删除--物理删除
 */
export const useBatchRemovesApi = (body)=>{
    return useHttpPost("/sysuser/batch/removes",{body})
}
